<?php
$except = [
    'user' => [
        'register',
        'login',
        'createarticlecomment'
    ],
    'article' => [
        'info',
        'getarticles',
        'gettypes',
        'getcomment',
        'search',
        'getbyuserid'
    ],
    'book' => [
        'getbyuserid'
    ],
    'page' => [
        'home',
        'article',
        'search',
        'author',
        'book'
    ],
    'qiniu' => [
        'uploadtoken'
    ],
    'specific' => [
        'recommend'
    ]
];
return [
    [\app\common\middleware\Auth::class, $except]
];
